#include <string>
#include <stdexcept>
#include <cstdlib>
#include <iostream>

using namespace std;
int main()
{
	char *p=NULL;
	try
	{
		wstring s=NULL;
	}
	catch(exception &e)
	{
		cout << e.what() << endl;
	}
	
	try
	{
		string s(p);
	}catch(exception &e)
	{
		cout << e.what() << endl;
	}

	

	return 0;
}
